import { defineStore } from 'pinia';

export default defineStore('lang', {
    state() {
        return {
            lang: '',
        };
    },
    actions: {
        updateLang(lang: string) {
            this.lang = lang;
        },
    },
    persist:true
});
